
const useMethodStore = defineStore(
    'method',
    {
      state: () => ({
        methodId: '',
        inseForm: {},
        MethodForm: {},
        methodStepForm: {},
        accuracyForm: {},
        sampleForm: {},
        YlAndReagent:{},
        methodQcForm: {},
        resultForm:{},
        methodDjForm:[]
      }),
      actions: {
        setMethodId(methodId) {
          this.methodId = methodId;
        },
        setInseForm(inseForm) {
          this.inseForm = inseForm;
        },
        setmethodStep(methodStepForm) {
          this.methodStepForm = methodStepForm
        },
        setaccuracyForm(accuracyForm) {
          this.accuracyForm = accuracyForm
        },
        setsampleForm(sampleForm) {
          this.sampleForm = sampleForm
        },
        setResultForm(resultForm) {
          this.resultForm = resultForm
        },
        setYlAndReagent(YlAndReagent){
          this.YlAndReagent=YlAndReagent
        },
        setmethodQcForm(methodQcForm){
          this.methodQcForm=methodQcForm
        },
        setMethodForm(MethodForm) {
          this.MethodForm=MethodForm
        },
        setmethodDjForm(methodDjForm){
          this.methodDjForm=methodDjForm
        },

      }
    })
  export default useMethodStore
  